
import getlink from "@/apis/getlink.js"
export let listm = {
    state: {
        newpic: ""
    },
    mutations: {
        uppic(state, payload) {
            state.newpic = payload
        }
    },
    actions: {
        getlists(context, payload) {
            getlink(payload.url).then((ok) => {
                // console.log("我是列表也得数据", ok.data.goods);
                context.commit("uppic", ok.data.goods)
            })

        }

    }
}



